package cn.huiyunche.base.service.interfaces;

import cn.huiyunche.base.service.model.BLicenseType;
import cn.huiyunche.base.service.model.BLicenseTypeExample;
import cn.huiyunche.base.service.vo.BLicenseTypeVo;
import cn.huiyunche.base.service.vo.Result;
import cn.huiyunche.tools.basic.exceptions.BusinessException;

import java.util.List;

public interface BLicenseTypeService {

    /**
     * 驾照类型列表
     *
     * @return
     * @throws BusinessException
     */
    Result<List<BLicenseTypeVo>> list(Long dUserId) throws Exception;

    BLicenseType selectByPrimaryKey(Integer id);

    List<BLicenseType> selectByExample(BLicenseTypeExample example);

}
